package com.shao.jiegou;

import java.util.Scanner;

public class if01 {
    public static void main(String[] args) {
//成绩分数大于60及格，小于60就是不及格
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入成绩");
        int score=scanner.nextInt();
        if (score==100)
        {
            System.out.println("恭喜满分");

        } else if (score>=60) {
            System.out.println("恭喜及格");
        }
        else{
            System.out.println("很遗憾不及格");
        }
        scanner.close();
    }
}
